package com.exam.liuchao.myapplication;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        Button button = (Button) findViewById(R.id.button);
    }
    public void ship(View view){
        Intent intent=new Intent(this,Main2Activity.class);
        startActivity(intent);
        overridePendingTransition(R.anim.zoomin,R.anim.zoomout);
    }

}
